package com.dorm.entity;

import com.fasterxml.jackson.annotation.JsonBackReference;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
public class DisciplinaryRecord extends BaseEntity {
    private Long id;
    private Long studentId;
    private String description;
    private LocalDateTime recordTime;
    
    // 关联字段
    @JsonBackReference
    private Student student;
} 